package com.king01.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class StaffEx {
    private Integer id;
    private Integer staffid;
    private Integer branchid;
    private Integer deptid;
    private Integer newbranchid;
    private Integer newdeptid;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date apptrytime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date extime;
    private Integer applyid;
    private Integer exid;
    private Integer state;

    //关联的门店对象
    private Branch branch;
    //关联的角色
    private Role role;
    //关联的部门
    private Department department;
}
